package org.jeecg.modules.demo.syuser.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.demo.syuser.entity.SyUser;
import org.jeecg.modules.demo.syuser.mapper.SyUserMapper;
import org.jeecg.modules.demo.syuser.service.ISyUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: Syuser
 * @Author: jeecg-boot
 * @Date:   2023-11-06
 * @Version: V1.0
 */
@Service
public class SyUserServiceImpl extends ServiceImpl<SyUserMapper, SyUser> implements ISyUserService {
    @Autowired
    private SyUserMapper SyUserMapper;
    public Page<SyUser> getlist(Page<SyUser> page , String orgcode, String fl, String online){
        return page.setRecords(this.SyUserMapper.getlist(page,orgcode,fl,online));
    }
}
